//
//  OPAboutUsController.m
//  OnePiece
//
//  Created by wsy on 15/11/3.
//  Copyright © 2015年 wsy. All rights reserved.
//

#import "OPAboutUsController.h"

@interface OPAboutUsController ()

@end

@implementation OPAboutUsController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    self.view.backgroundColor = [UIColor colorWithRed:1.000 green:0.998 blue:0.961 alpha:1.000];
    [self.leftButton addTarget:self action:@selector(back) forControlEvents:(UIControlEventTouchUpInside)];
    [self.leftButton setImage:[UIImage imageNamed:@"meishi-back"] forState:(UIControlStateNormal)];
    self.titleLable.text = @"用户协议";
    UIImageView *icon = [[UIImageView alloc]initWithFrame:CGRectMake(SCREEN_WIDTH/2-30, 84, 60, 60)];
    [self.view addSubview:icon];
    UILabel *label = [[UILabel alloc]initWithFrame:CGRectMake(30, 150, SCREEN_WIDTH-60, SCREEN_HEIGHT-150)];
    label.font = [UIFont systemFontOfSize:14];
    label.textColor = [UIColor colorWithWhite:0.000 alpha:0.611];
    label.numberOfLines = 0;
    label.text = @"    读书或者旅行，身体和心灵总有一个要在路上。\n \n    唤起你旅行的心，去寻找你心中的OnePiece。\n \n    小文艺的游记分享，不同主题的旅行推荐，领略各地美食风味，还有更加贴心的旅行工具，这就是我们倾力为您打造的OnePiece。\n \n    OnePiece  1.0  for  you.";
    [self.view addSubview:label];
}

- (void)back
{
    [self dismissViewControllerAnimated:YES completion:nil];
}

- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
